<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>7.2.3 </title>
</head>
<body>
<div id="app">
    <my-html message="父组件数据111"></my-html>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<script>
    Vue.component('my-html',{
        props:{
            message:Number
        },
        template:'<div>{{message}}</div>'
    });
    var app = new Vue({
        el:'#app'
    })
</script>
</body>
</html>